package com.numberone.system.domain;

import com.numberone.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 三级类目表 typeThird
 * 
 * @author numberone
 * @date 2020-09-25
 */
public class TypeThird extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Long id;
	/** 三级分类名 */
	private String typeName;
	/** 二级分类id */
	private Long pId;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setTypeName(String typeName) 
	{
		this.typeName = typeName;
	}

	public String getTypeName() 
	{
		return typeName;
	}
	public void setPId(Long pId) 
	{
		this.pId = pId;
	}

	public Long getPId() 
	{
		return pId;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("pId", getPId())
            .toString();
    }
}
